package main

import "fmt"

func main() {
	str := "A"
	switch str {
	case "A":
		fmt.Println("case A")
		fallthrough //将直接忽略下一个case 判断，进而执行 下一个case 逻辑
	case "B":
		fmt.Println("case B")

	case "C":
		fmt.Println("case C")
	default:
		fmt.Println("default ")

	}
}
